package com.enqualcomm.kids.view.chatline;

import android.content.Context;
import android.util.AttributeSet;

import lecho.lib.hellocharts.computator.ChartComputator;
import lecho.lib.hellocharts.model.Viewport;
import lecho.lib.hellocharts.renderer.AxesRenderer;
import lecho.lib.hellocharts.renderer.LineChartRenderer;
import lecho.lib.hellocharts.view.LineChartView;

/**
 * Created by Administrator on 2016/7/20.
 */
public class MyLineChartView extends LineChartView {
    public MyLineChartView(Context context) {
        super(context);
        init(context);
    }

    public MyLineChartView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init(context);
    }

    public MyLineChartView(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);
        init(context);
    }

    private void init(Context context) {
        axesRenderer = new MyAxesRenderer(context, this);
        chartRenderer.setViewportCalculationEnabled(false);
    }


}
